package com.lingdian.fund.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.lingdian.fund.bean.Fund;

@Repository("fundRepository")
public interface FundRepository extends CrudRepository<Fund, String>{

	Iterable<Fund> findAllByOrderById();
	Page<Fund> findAll(Pageable pageable);
}
